package com.ruoyi.system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 
 * `@TableName bs_pingjia
 */
@Data
@ApiModel(value = "评价管理类")
public class BsPingjia extends BaseEntity implements Serializable {
    /**
     * 评价ID
     */
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "评价ID")
    private Long pingjiaId;

    /**
     * 景区ID
     */
    @ApiModelProperty(value = "景区ID")
    private Long jingquId;

    /**
     * 订单ID
     */
    @ApiModelProperty(value = "订单ID")
    private Long orderId;

    /**
     * 用户ID
     */
    @ApiModelProperty(value = "用户ID")
    private Long userId;

    /**
     * 评价内容
     */
    @ApiModelProperty(value = "评价内容")
    private String pingjiaContent;

    /**
     * 评价星级
     */
    @ApiModelProperty(value = "评价星级")
    private Integer pingjiaScore;

    /**
     * 评价图片地址(多个,评价)
     */
    @ApiModelProperty(value = "评价图片，多个图片,号拼接")
    private String pingjiaPictureUrl;

    /**
     * 评价状态(0-待审核，1已通过，2未通过)
     */
    @ApiModelProperty(value = "评价状态(0-待审核，1已通过，2未通过)")
    private Integer pingjiaStatus;

    /**
     * 评价审核时间
     */
    @ApiModelProperty(value = "评价审核时间")
    private Date pingjiaExamineTime;

    @ApiModelProperty(value = "门票类型")
    @TableField(exist = false)
    private String menpiaoCategory;

    @ApiModelProperty(value = "评价人头像")
    @TableField(exist = false)
    private String avatar;

    @ApiModelProperty(value = "评价人手机号")
    @TableField(exist = false)
    private String phoneNumber;

    private static final long serialVersionUID = 1L;
}